﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace FlightTicketModel
{
    /// <summary>
    /// 航司账户密码
    /// </summary>
  public  class AirlineAccount:EntityBase
    {
        [Required]
        [MaxLength(20)]
        public string username { get; set; }
        [Required]
        [MaxLength(20)]
        public string pwd { get; set; }
        [ForeignKey("Airline")]
        public long ArilineId { get; set; }
        public virtual Airline Airline { get; set; }
    }
}
